import axios from "axios"
export const dianAction =()=>{
    return {
        type:'DIAN'
    }
}
export const addNumAction =()=>{
    return {
        type:'ADDNUM'
    }
}
export const getArrAction =()=>{
  return (dispatch)=>{
      axios.get("/list").then(res=>{
         dispatch({
             type:"SET_ARR",
             payload:res.data
         })
      })
  }
}